package org.threadCase1;

public class Demo {
    public static void main(String[] args) {
       threadDemo1 t1=new threadDemo1();
       threadDemo1 t2=new threadDemo1();
       t1.setName("窗口1");
       t2.setName("窗口2");
       t1.start();
       t2.start();
    }
}